<?php 
//print_r($content);
//print_r($modelingstatus);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/text.css" />
<link rel="stylesheet" href="css/960_24_col.css" />
 <link rel="stylesheet" href="css/jquery-ui-1.8.21.custom.css" />
 <link rel="stylesheet" href="css/style.css" />
 <link rel="stylesheet" href="css/faary.css" type="text/css" />
 <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
 <script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>
<script>
/*
	$(function(){
$(".formbus").validate({
		submitHandler: function(form){ form.submit() },
		 onfocusout: true,

		rules: {
			
		companyname: {required: true},
		
			
		address: {required: true},

		
		city: { required: true},	
			  		
		tele: {
				required: true,
		     	//telphone:true
				
				  },	
	fax: {
		required: true,
		
			
		 },				  
	contactperson:{required: true}	,			  	
		},  
		messages: {
			companyname: " Nom complet",
			address: "ajoutez l'adresse",
			city: "ajoutez la ville",
			tele: "ajouter Telephone xxx-xxx-xxxx",
			fax: "Ajouter le celluaire",
			contactperson:"ajouter le contact personal"
		}
	});
	})
	*/
</script>
</head>

<body>
	<script type="text/javascript">
<!--
	function isEmailValid(email){
		var e = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
		return e.test(email);
	}
	
-->
</script>
	<div class="principal container_24">
		
		<!--logo-->
		<div class="logo grid_24">
			<div class="grid_1">&nbsp;</div>
			<div class="grid_4 logoimage">LOGO</div>
			<div class="logout grid_5"><a href="index.php?loginprocess/loginout"><img src="img/bt_logout.jpg"/></a></div>
		</div><!-- end logo-->
		
		<!--menupricipal-->
		<div class="menuprincipal grid_24">
		<?php if ($role=="admin"){?>
		<a  style="color" href="index.php?gadmin/modelinglistadmin" >return to gestion Modeling</a>
		<?php }else{?>
			<a  style="color" href="index.php?gmodeling/modelinglist" >return to Modeling List</a>
		<?php }?>
		</div>
		<!-- end menupricipal-->
				
			<div class="descprincipal grid_22">
				description
			</div>
			
			<div class="grid_24 listcontent">
				<h1>Booking Virtuo</h1>
				<div class="grid_22 list">
				
	
		<form method="post" action="index.php?gmodeling/submiteditcontent2"  class="iform grid_18 formbus">
		<input type="hidden" name="idmodeling" value="<?php echo $content[0]["idmodeling"]; ?>"/>
		<input type="hidden" name="role" value="<?php echo  $role;?>"/>
	<div id="imessageOK">Thank you! Message Sent!</div>
	<div id="imessageERROR">ERROR: Message Not Sent!</div>
	<ul class="">
	<li class="iheader">Ajouter L'infomation de  modeling</li>
	<li>

<li>
<label for="TourCode">urlvisite</label>
<input class="itext" type="text" name="urlvisite" id="urlvisite"  value="<?php  echo $content[0]["urlvisite"];?>"/>
</li>

<li>
<label for="TourCode">Embedded</label>
<input class="itext" type="text" name="moderation" id="moderation"  value="<?php  echo $content[0]["moderation"];?>"/>
</li>

<li>
<label for="TourCode">facebook</label>
<input class="itext" type="text" name="facebook" id="facebook"  value="<?php  echo $content[0]["facebook"];?>"/>
</li>

<li>
<label for="TourCode">commentaire</label>
<input class="itext" type="text" name="commentaire" id="commentaire"  value="<?php  echo $content[0]["commentaire"];?>"/>
</li>

<li><input type="submit" name="submit" value="submit" /></li>

</ul></form>
</div>
</div>
		
	</div><!--end principal-->
</body>
</html>